package com.jinzecloud.blog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jinzecloud.blog.bean.Article;
import com.jinzecloud.blog.utils.Page;

public interface ArticleService extends IService<Article> {

    void add(Article article);

    void updateArticle(Article article);

    void deleteArticle(Long[] ids);

    Article getByIdArticle(Long id);

    Page<Article> getAllArticle();

    void updateArticleLikecount(Article article);

    void updateArticleCommentcount(Article article);

    void updateArticleReadcount(Article article);

    void updateArticleTopflag(Article article);
}
